package com.bootdo.wx.service;

import com.bootdo.wx.domain.GoodsClassDO;
import com.bootdo.common.domain.Tree;
import com.bootdo.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 商品分类
 * 
 * @author sys
 * @email 1992lcg@163.com
 * @date 2019-03-19 16:39:22
 */
public interface GoodsClassService {
	
	GoodsClassDO get(String id);
	
	List<GoodsClassDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsClassDO goodsClass);
	
	int update(GoodsClassDO goodsClass);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	R classList(Map<String, Object> map);

	R queryByPrentId(Map<String, Object> params);

	List<GoodsClassDO> queryAll();

	Tree<GoodsClassDO> getTree();

}
